package com.hiyee.goods.mapper;

import com.hiyee.api.mapper.MyMapper;
import com.hiyee.pojo.SpecValue;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SpecValueMapper extends MyMapper<SpecValue> {
    /**
     * 根据 规格 id 查询 规格值列表
     *
     * @param Long id
     * @return List<SpecValue>
     */
    public List<SpecValue> getBySpecId(@Param("spec_id")Long id);
}